<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>论密码管理 | Amnesia's blog</title><meta name="keywords" content="“技术教程,密码管理”"><meta name="author" content="Amnesia"><meta name="copyright" content="Amnesia"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="这个月16号，知名密码管理软件Lastpass的免费用户，将不能同时使用桌面端和移动端了：   消息来源：https:&#x2F;&#x2F;support.logmeininc.com&#x2F;lastpass&#x2F;help&#x2F;what-can-i-expect-to-change-for-lastpass-free-on-march-16-2021    应该如何设置密码谈到密码管理，就不得不先讲密码安全 对密码进行分级多数情">
<meta property="og:type" content="article">
<meta property="og:title" content="论密码管理">
<meta property="og:url" content="http://amnesia-f.github.io/posts/6746a1c3/index.html">
<meta property="og:site_name" content="Amnesia&#39;s blog">
<meta property="og:description" content="这个月16号，知名密码管理软件Lastpass的免费用户，将不能同时使用桌面端和移动端了：   消息来源：https:&#x2F;&#x2F;support.logmeininc.com&#x2F;lastpass&#x2F;help&#x2F;what-can-i-expect-to-change-for-lastpass-free-on-march-16-2021    应该如何设置密码谈到密码管理，就不得不先讲密码安全 对密码进行分级多数情">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%B0%81%E9%9D%A2.png">
<meta property="article:published_time" content="2021-03-01T13:32:16.000Z">
<meta property="article:modified_time" content="2022-02-01T09:50:39.743Z">
<meta property="article:author" content="Amnesia">
<meta property="article:tag" content="技术教程">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%B0%81%E9%9D%A2.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="http://amnesia-f.github.io/posts/6746a1c3/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//www.google-analytics.com" crossorigin=""/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css" media="print" onload="this.media='all'"><script async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-172938598-1"></script><script>window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-172938598-1');
</script><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"search.xml","languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":300},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: {"limitCount":50,"languages":{"author":"作者: Amnesia","link":"链接: ","source":"来源: Amnesia's blog","info":"著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。"}},
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"bottom-left"},
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '论密码管理',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2022-02-01 17:50:39'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
          const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
          const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
          const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified

          if (t === undefined) {
            if (isLightMode) activateLightMode()
            else if (isDarkMode) activateDarkMode()
            else if (isNotSpecified || hasNoSupport) {
              const now = new Date()
              const hour = now.getHours()
              const isNight = hour <= 6 || hour >= 18
              isNight ? activateDarkMode() : activateLightMode()
            }
            window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
              if (saveToLocal.get('theme') === undefined) {
                e.matches ? activateDarkMode() : activateLightMode()
              }
            })
          } else if (t === 'light') activateLightMode()
          else activateDarkMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/css/iconfont.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/static-butterfly/dist/css/index.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/css/scrollbar.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/HCLonely/images@master/others/heartbeat.min.css"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" media="defer" onload="this.media='all'"><link rel="stylesheet" href="/css/custom/twikoo_beautify.css"  media="defer" onload="this.media='all'"><!-- hexo injector head_end start --><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-swiper/swiper/swiper.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-swiper/swiper/swiperstyle.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-card-history/baiduhistory/css/main.css"><link rel="stylesheet" href="https://unpkg.zhimg.com/hexo-butterfly-wowjs/lib/animate.min.css" media="print" onload="this.media='screen'"><!-- hexo injector head_end end --><meta name="generator" content="Hexo 6.0.0"><link rel="alternate" href="/atom.xml" title="Amnesia's blog" type="application/atom+xml">
<link rel="alternate" href="/rss2.xml" title="Amnesia's blog" type="application/rss+xml">
</head><body><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/avatar.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data is-center"><div class="data-item"><a href="/archives/"><div class="headline">文章</div><div class="length-num">57</div></a></div><div class="data-item"><a href="/tags/"><div class="headline">标签</div><div class="length-num">44</div></a></div><div class="data-item"><a href="/categories/"><div class="headline">分类</div><div class="length-num">19</div></a></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-compass"></i><span> 目录</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-file-code"></i><span> HTML游戏</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/HTML/Demo/%E5%9C%88%E5%B0%8F%E7%8C%AB.html"><i class="fa-fw fas fa-code"></i><span> 圈小猫</span></a></li><li><a class="site-page child" href="/HTML/Demo/%E8%B5%B0%E8%BF%B7%E5%AE%AB/index.html"><i class="fa-fw fas fa-code"></i><span> 走迷宫</span></a></li><li><a class="site-page child" href="/HTML/Demo/%E5%9D%A6%E5%85%8B%E5%A4%A7%E6%88%98/index.html"><i class="fa-fw fas fa-code"></i><span> 坦克大战</span></a></li><li><a class="site-page child" href="/HTML/Demo/%E9%A3%9E%E6%9C%BA%E5%A4%A7%E6%88%98/index.html"><i class="fa-fw fas fa-code"></i><span> 飞机大战</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 其他</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li><li><a class="site-page child" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></li><li><a class="site-page child" href="/history/"><i class="fa-fw fas fa-link"></i><span> 建站史</span></a></li><li><a class="site-page child" href="/comments/"><i class="fa-fw fas fa-sticky-note"></i><span> 留言板</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/talking/"><i class="fa-fw fas fa-sticky-note"></i><span> 自言自语</span></a></div><div class="menus_item"><a class="site-page" href="/about/index.html"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%B0%81%E9%9D%A2.png')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">Amnesia's blog</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-compass"></i><span> 目录</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-file-code"></i><span> HTML游戏</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/HTML/Demo/%E5%9C%88%E5%B0%8F%E7%8C%AB.html"><i class="fa-fw fas fa-code"></i><span> 圈小猫</span></a></li><li><a class="site-page child" href="/HTML/Demo/%E8%B5%B0%E8%BF%B7%E5%AE%AB/index.html"><i class="fa-fw fas fa-code"></i><span> 走迷宫</span></a></li><li><a class="site-page child" href="/HTML/Demo/%E5%9D%A6%E5%85%8B%E5%A4%A7%E6%88%98/index.html"><i class="fa-fw fas fa-code"></i><span> 坦克大战</span></a></li><li><a class="site-page child" href="/HTML/Demo/%E9%A3%9E%E6%9C%BA%E5%A4%A7%E6%88%98/index.html"><i class="fa-fw fas fa-code"></i><span> 飞机大战</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 其他</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li><li><a class="site-page child" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></li><li><a class="site-page child" href="/history/"><i class="fa-fw fas fa-link"></i><span> 建站史</span></a></li><li><a class="site-page child" href="/comments/"><i class="fa-fw fas fa-sticky-note"></i><span> 留言板</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/talking/"><i class="fa-fw fas fa-sticky-note"></i><span> 自言自语</span></a></div><div class="menus_item"><a class="site-page" href="/about/index.html"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">论密码管理</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-03-01T13:32:16.000Z" title="发表于 2021-03-01 21:32:16">2021-03-01</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-02-01T09:50:39.743Z" title="更新于 2022-02-01 17:50:39">2022-02-01</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E6%8A%80%E6%9C%AF%E6%95%99%E7%A8%8B/">技术教程</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">4.2k</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>13分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="论密码管理"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span><span class="post-meta-separator">|</span><span class="post-meta-commentcount"><i class="far fa-comments fa-fw post-meta-icon"></i><span class="post-meta-label">评论数:</span><a href="/posts/6746a1c3/#post-comment"><span id="twikoo-count"></span></a></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><p>这个月16号，知名密码管理软件Lastpass的免费用户，将不能同时使用桌面端和移动端了：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/LastPass.png" alt="LastPass"></p>
<blockquote>
<p>消息来源：<a target="_blank" rel="noopener" href="https://support.logmeininc.com/lastpass/help/what-can-i-expect-to-change-for-lastpass-free-on-march-16-2021">https://support.logmeininc.com/lastpass/help/what-can-i-expect-to-change-for-lastpass-free-on-march-16-2021</a></p>
</blockquote>
<br/>

<h1 id="应该如何设置密码"><a href="#应该如何设置密码" class="headerlink" title="应该如何设置密码"></a>应该如何设置密码</h1><p>谈到密码管理，就不得不先讲密码安全</p>
<h2 id="对密码进行分级"><a href="#对密码进行分级" class="headerlink" title="对密码进行分级"></a>对密码进行分级</h2><p>多数情况下，你的密码都不是被暴力破解的，而是因为你在许多网站上都使用了同一个密码！!</p>
<p>毕竟现在国内黑客破解密码的常用手段之一，就是攻入一些“小”网站的后台，获取到数据库内的ID+密码后，到其他各大网站尝试相同ID+密码能否登录（撞库）</p>
<p>所以实际不是密码复杂度的问题，而是你不要在那些不安全的小网站上使用和你重要网站一样密码的问题</p>
<p>这里最简单的解决方案就是密码分级，一般来说可以按3个梯度来进行设置：</p>
<blockquote>
<p>1.一般的密码（如屏保密码等）</p>
<p>2.社交隐私类（如QQ。微信、微博、邮箱）</p>
<p>3.涉及到金钱的一类（如支付宝、微信、paypal）</p>
</blockquote>
<h2 id="让密码复杂但又不难记"><a href="#让密码复杂但又不难记" class="headerlink" title="让密码复杂但又不难记"></a>让密码复杂但又不难记</h2><p>实现让密码复杂但又不难记，就需要有自己的一套密码规则，</p>
<p>这里采用的方法是：<code>固定密码 + 根据网站来生成额外密码</code></p>
<p>例如我的固定密码是：@Amnesia=000！</p>
<blockquote>
<p>建议这个固定密码要包含英文、数字、符号，另外最好是首字母大写，这样能适用于绝大多数网站的密码设置要求。</p>
</blockquote>
<p>然后就比方说：</p>
<ul>
<li>对于QQ，我的密码就是@Amnesia=000!qq</li>
<li>对于微博，我的密码则是：@Amnesia=000!weibo</li>
</ul>
<p>这里只是举例，因为如果你不小心同时被人获取到了2个以上网站的密码，就很容易被猜出规律</p>
<p>所以你最好加上更多的密码变化规则：</p>
<blockquote>
<ul>
<li><p>比如缩写不足3位的，就与666进行替换，那QQ的密码就是@Amnesia=qq！000，微博的密码则还是@Amnesia=000！weibo</p>
</li>
<li><p>比如根据缩写的长度改为在末尾增加数字，那QQ的密码就是@Amnesia=000！12，微博的密码则是@Amnesia=000！12345</p>
</li>
<li><p>再或者是能映射到键盘上，根据网站缩写的长度，在键盘上依次按qwer…，那QQ的密码就是@Amnesia=000！qw，微博的密码则是@Amnesia=000！qwert</p>
</li>
</ul>
</blockquote>
<p>以上只是举例子，大家可根据自己发挥想象来设计一套自己的密码规则</p>
<p>如果你觉得自己想不出来，可以到知乎相关问题下借鉴一下。</p>
<h1 id="我的密码管理方案"><a href="#我的密码管理方案" class="headerlink" title="我的密码管理方案"></a>我的密码管理方案</h1><p>基本上只要做到了前文所述，再加上自己不要上钓鱼网站的当，就很难出现密码被盗的情况了</p>
<p>然后就该谈今天的主题了：密码管理</p>
<p>可能部分人觉得浏览器自带的「保存密码」功能就足够了啊</p>
<p>但说实话，单纯用浏览器来记录密码，缺点很多：</p>
<blockquote>
<ol>
<li>PC端与手机端用的不是同一个浏览器，那就会很麻烦</li>
<li>不支持对软件、APP自动输入密码</li>
<li>不能记录除了网站以外的密码</li>
<li>无法给密码加上备注</li>
<li>……</li>
</ol>
</blockquote>
<p>用密码管理器除了能解决以上的问题，另外还有个好处是：你只需要记住密码管理器的一个密码就够了，其他的密码，全交由密码管理器来记</p>
<p>除了文章开头提到的 Lastpass，密码管理软件其实还有不少，1Password、Bitwarden、Dashlane、Enpass、Keepass、Keeper、RememBear</p>
<p>付费方案解决起来自然简单，而想必多数人还是更喜欢免费方案的</p>
<p>那在这些工具中，再除掉免费版有密码数量限制＆设备限制的，其实就剩下 Bitwarden、KeePass 可以选择了</p>
<p>而本文要推荐的是我一直在用的 KeePass</p>
<p>Keepass 的优点是开源，全平台支持，完全免费，数据本地加密，完全不会有那种密码始终是交给别人存放的顾虑，也不用担心别人的服务挂掉</p>
<p>KeePass 还有个最容易被忽略的优势：其加密方式和加密算法，处于密码管理软件的最前沿，至今都没有暴露过任何安全风险<code>（要知道LastPass可是曝出过有严重漏洞的）</code></p>
<p><strong>但其最大缺点就是工具链比较长，配置略显麻烦，没有详细的教程的话，很多人入不了门</strong></p>
<h1 id="KeePass-PC端食用指南"><a href="#KeePass-PC端食用指南" class="headerlink" title="KeePass PC端食用指南"></a>KeePass PC端食用指南</h1><p>KeePass 唯一的缺点可能就是设置起来麻烦</p>
<p>但是麻烦并不代表着复杂，跟着下面的教程一步步操作，还是没有难度的</p>
<blockquote>
<p>以下教程很长，非常硬核！</p>
</blockquote>
<h2 id="获取主程序"><a href="#获取主程序" class="headerlink" title="获取主程序"></a>获取主程序</h2><p>前往网址 <a target="_blank" rel="noopener" href="https://keepass.info/download.html">https://keepass.info/download.html</a> 下载PC版KeePass：</p>
<blockquote>
<p>推荐下载最新的2.x Portable 版（即绿色版）</p>
</blockquote>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/download.png" alt="download"></p>
<p>下载后解压，可以得到以下文件：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E6%96%87%E4%BB%B6%E5%A4%B9.png" alt="文件夹"></p>
<h2 id="手动汉化"><a href="#手动汉化" class="headerlink" title="手动汉化"></a>手动汉化</h2><p>KeePass 虽然支持多语言，但并没有内置到软件中，需要自己手动下载最新的汉化包进行汉化： <a target="_blank" rel="noopener" href="https://keepass.info/translations.html">https://keepass.info/translations.html</a></p>
<p>因为上面下载的 2.x 版的主程序，所以要下载对应版本的汉化包:</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/language.png" alt="language"></p>
<p>将下载下来的 .lngx 文件放到 KeePass 的<code>Languages</code>文件夹中：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E6%B1%89%E5%8C%96.png" alt="汉化"></p>
<p>运行 KeePass.exe 启动程序，点击<code>View » Change Language »</code>双击简体中文即可更改语言：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/Change%20Language.png" alt="Change Language"></p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/Select%20Language.png" alt="Select Language"></p>
<h2 id="创建数据库"><a href="#创建数据库" class="headerlink" title="创建数据库"></a>创建数据库</h2><p>汉化好之后，你就可以创建属于你的密码数据库了</p>
<p>在 KeePass 内点文件 » 新建，然后选择一个地方存放你的数据库<code>.kdbx</code>（这个文件存放的就是你的密码，名称可以随意）</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E6%96%B0%E5%BB%BA%E6%95%B0%E6%8D%AE%E5%BA%93.png" alt="新建数据库"></p>
<h2 id="创建管理密码＆密钥"><a href="#创建管理密码＆密钥" class="headerlink" title="创建管理密码＆密钥"></a>创建管理密码＆密钥</h2><p>接下来是比较关键的一步：<code>设置你的数据库密码</code></p>
<p>如果你觉得你的电脑使用习惯很好，可以像阿虚一样只设置管理密码</p>
<p>而如果你觉得你存放的密码对你非常重要，建议勾选「显示高级选项」，然后自己新增一个密钥文件:</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5.png" alt="创建密钥"></p>
<br/>

<p>密钥文件是打开数据库的第二把钥匙，以2个常见的应用场景来说下它的用处：</p>
<blockquote>
<p>1.你想在公司的电脑上用 KeePass，但又怕你不在工位的时候被人盗取密码，那你就可以把密钥文件存放在你的U盘上，打开数据库的时候，必须键入管理密码+读取你U盘中的密钥文件才能打开</p>
<p>2.你可以创建任意格式的密钥文件，比如一张jpg格式的图片，然后设置一个非常普通的文件名，这样就算电脑被黑，黑客也无从得知你的密钥文件是哪一个，进而也获取不了你的密码数据库</p>
</blockquote>
<p>这里说一点，如果你创建了密钥文件，后面在移动端使用的话，会稍显麻烦<code>（因为需要额外拷贝密钥文件到手机上）</code></p>
<h2 id="设置数据库"><a href="#设置数据库" class="headerlink" title="设置数据库"></a>设置数据库</h2><p>你的管理密码与密钥设置好之后，接下来是设置一个数据库名称</p>
<p>然后设置「安全」选项卡中的「迭代次数」</p>
<p>迭代次数越高数据库越难被暴力破解，但每次打开数据库的耗时也越长，你可以根据自己的需要来进行设置（我这里保持默认）：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E6%95%B0%E6%8D%AE%E5%BA%931.png" alt="数据库1"></p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E6%95%B0%E6%8D%AE%E5%BA%932.png" alt="数据库2"></p>
<p>设置完之后，点击「OK」，会弹出一个打印应急表单的窗口，点击「跳过」即可：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E6%89%93%E5%8D%B0%E5%BA%94%E6%80%A5%E8%8F%9C%E5%8D%95.png" alt="打印应急菜单"></p>
<h2 id="进一步设置"><a href="#进一步设置" class="headerlink" title="进一步设置"></a>进一步设置</h2><p>然后终于进入软件主界面了，但我们还有需要对软件本身进行一点设置，点击<code>工具 » 选项</code>：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E9%80%89%E9%A1%B9.png" alt="选项"></p>
<p>如果你是公共电脑，建议在「安全」与「高级」选项卡下做如下设置：</p>
<p>这里其中一些设置是为后面一些插件服务的，你不太懂也没关系</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E9%80%89%E9%A1%B9-%E5%AE%89%E5%85%A8.png" alt="选项-安全"></p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E9%80%89%E9%A1%B9-%E9%AB%98%E7%BA%A71.png" alt="选项-高级1"></p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E9%80%89%E9%A1%B9-%E9%AB%98%E7%BA%A72.png" alt="选项-安全2"></p>
<h2 id="安装插件"><a href="#安装插件" class="headerlink" title="安装插件"></a>安装插件</h2><p>KeePass 的另一大优势还在于，由于软件本身开源，所以它拥有非常多强大的插件。</p>
<p>点击<code>工具 » 插件管理器 » 获取更多的插件</code></p>
<p>你也可以直接打开：<a target="_blank" rel="noopener" href="https://keepass.info/plugins.html">https://keepass.info/plugins.html</a></p>
<p>然后你便能看到琳琅满目的插件可供选择了，按键盘Ctrl+F，即可在页面内进行搜索：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/Plugins.png" alt="Plugins"></p>
<p>你可以后续自行去发掘这些插件，这里仅推荐一些常用<code>（自用）</code>插件：</p>
<table>
<thead>
<tr>
<th align="center">插件名称</th>
<th align="center">下载地址</th>
<th align="center">插件作用</th>
<th>备注</th>
</tr>
</thead>
<tbody><tr>
<td align="center">KPEnhancedEntryView</td>
<td align="center"><a target="_blank" rel="noopener" href="https://sourceforge.net/projects/kpenhentryview/files/">https://sourceforge.net/projects/kpenhentryview/files/</a></td>
<td align="center">提供更方便的主页面视图，同时按 F9 就可以一键查看／隐藏所有加密字段，同时也能在主界面直接修改用户名、密码、添加备注和附件</td>
<td>默认是层叠显示，可以自己点击显示 » 窗口布局 » 改为平铺，达到更好的视觉效果</td>
</tr>
<tr>
<td align="center">AutoTypeSearch</td>
<td align="center"><a target="_blank" rel="noopener" href="https://sourceforge.net/projects/autotypesearch/">https://sourceforge.net/projects/autotypesearch/</a></td>
<td align="center">用于在 KeePass 未能成功匹配的时候，快速搜索你的密码数据库</td>
<td>你可以在 KeePass 的工具 » 选项 » AutoTypeSearch中设置一个呼出快捷键</td>
</tr>
<tr>
<td align="center">CheckPasswordBox</td>
<td align="center"><a target="_blank" rel="noopener" href="https://sourceforge.net/projects/checkpasswordbox/">https://sourceforge.net/projects/checkpasswordbox/</a></td>
<td align="center">在使用自动输入时防止误输密码到非密码框</td>
<td>具体用法见后文的3.11，这里不多介绍</td>
</tr>
<tr>
<td align="center">RDCAutoTypeAndTCATO</td>
<td align="center"><a target="_blank" rel="noopener" href="https://rdc-keepass-plugin.appspot.com/">https://rdc-keepass-plugin.appspot.com/</a></td>
<td align="center">增加了对远程桌面连接 （RDC） 窗口自动输入的支持，对于QQ这类窗口也需要此插件才能正常进行自动输入</td>
<td>设置方法是：点击工具 » RDCAutoTypeTCATO » Programs List</td>
</tr>
<tr>
<td align="center">KeePassHttp</td>
<td align="center"><a target="_blank" rel="noopener" href="https://github.com/pfn/keepasshttp/">https://github.com/pfn/keepasshttp/</a></td>
<td align="center">连接浏览器与 KeePass</td>
<td>没有什么需要设置的，下载后放到  Plugins 文件夹中即可</td>
</tr>
</tbody></table>
<p>安装插件的方法：</p>
<p>插件下载后，把解压出来的 .plgx 文件，放于 KeePass 的 Plugins 文件夹中，就完成安装了：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E6%B7%BB%E5%8A%A0%E6%8F%92%E4%BB%B6.png" alt="添加插件"></p>
<h2 id="浏览器扩展"><a href="#浏览器扩展" class="headerlink" title="浏览器扩展"></a>浏览器扩展</h2><p>单给 KeePass 加上了 KeePassHttp 插件还没完，主要是要与浏览器扩展搭配才可</p>
<p>在浏览器上安装 KeePassHttp-Connector 这款扩展：</p>
<div class="tabs" id="方法"><ul class="nav-tabs"><li class="tab active"><button type="button" data-href="#方法-1">Edge浏览器</button></li><li class="tab"><button type="button" data-href="#方法-2">Chrome浏览器</button></li><li class="tab"><button type="button" data-href="#方法-3">火狐浏览器</button></li></ul><div class="tab-contents"><div class="tab-item-content active" id="方法-1"><p>Edge版安装地址：<a target="_blank" rel="noopener" href="https://microsoftedge.microsoft.com/addons/detail/keepassconnectoredge/bjfplpjakcjndfljopfdmmcankpopdki">https://microsoftedge.microsoft.com/addons/detail/keepassconnectoredge/bjfplpjakcjndfljopfdmmcankpopdki</a></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="方法-2"><p>国内可用Chrome版下载地址1：<a target="_blank" rel="noopener" href="https://www.gugeapps.net/webstore/detail/keepasshttp-connector/dafgdjggglmmknipkhngniifhplpcldb">https://www.gugeapps.net/webstore/detail/keepasshttp-connector/dafgdjggglmmknipkhngniifhplpcldb</a></p>
<p>国内可用Chrome版下载地址2：<a target="_blank" rel="noopener" href="https://www.extfans.com/productivity/dafgdjggglmmknipkhngniifhplpcldb/">https://www.extfans.com/productivity/dafgdjggglmmknipkhngniifhplpcldb/</a></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div><div class="tab-item-content" id="方法-3"><p>火狐版安装地址：<a target="_blank" rel="noopener" href="https://addons.mozilla.org/en-US/firefox/addon/keepasshttp-connector/">https://addons.mozilla.org/en-US/firefox/addon/keepasshttp-connector/</a></p><button type="button" class="tab-to-top" aria-label="scroll to top"><i class="fas fa-arrow-up"></i></button></div></div></div>



<p>确保你的 KeePass 已经启动，然后点击浏览器扩展栏的 KeePassHttp-Connector 扩展图标，并进行连接，首次连接需要你设置一个 Key name<code>（这个看自己喜欢随意设置即可）</code>，然后你就能看成功的将浏览器与 KeePass 关联起来了</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E8%BF%9E%E6%8E%A5.png" alt="连接"></p>
<p>然后你就能很方便的将在浏览器输入的密码，新建并保存到 KeePass 了</p>
<p>在你输入完密码后，在密码框右键，选择 KeePassConnect 的保存登录信息<code>（save credentials）</code></p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%8F%B3%E9%94%AE%E8%8F%9C%E5%8D%95.png" alt="右键菜单"></p>
<p>然后右上角的 KeePassConnect 的扩展图标将会闪动，点击一下，将可以将密码新建或者更新到 KeePass 中：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E4%BF%9D%E5%AD%98%E5%AF%86%E7%A0%81.png" alt="保存密码"></p>
<h2 id="WebDAV同步"><a href="#WebDAV同步" class="headerlink" title="WebDAV同步"></a>WebDAV同步</h2><p>KeePass 实现全平台同步的办法基本都是使用的坚果云：<a target="_blank" rel="noopener" href="https://www.jianguoyun.com/%60%EF%BC%88%E4%B8%BB%E8%A6%81%E6%98%AF%E5%9B%BD%E5%86%85%E4%B9%9F%E5%B0%B1%E8%BF%99%E5%AE%B6%E7%9A%84WebDav%E6%9C%8D%E5%8A%A1%E5%85%8D%E8%B4%B9%E4%B8%94%E5%A5%BD%E7%94%A8%EF%BC%89%60">https://www.jianguoyun.com/`（主要是国内也就这家的WebDav服务免费且好用）`</a></p>
<p>免费用户每月也有1G的上传流量，这对才几百KB的数据库文件来说是完全足够的</p>
<p>把你的 .kdbx数据库文件，上传到坚果云的一个新建文件夹（文件夹名需要是英文）</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E4%B8%8A%E4%BC%A0%E6%96%87%E4%BB%B6.png" alt="上传文件"></p>
<p>然后在网页右上角<code>账户 » 账户信息 » 安全选项</code>中，添加一个应用：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E6%B7%BB%E5%8A%A0%E5%BA%94%E7%94%A8.png" alt="添加应用"></p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%BA%94%E7%94%A8%E5%90%8D%E7%A7%B0.png" alt="应用名称"></p>
<p>接着回到 KeePass 中，点击<code>文件 » 打开 » 打开网址</code>：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80.png" alt="打开网址"></p>
<p>比如我的情况是：在 Keepass 文件夹下，密码库的文件名是：password.kdbx，所以我的地址是：<a target="_blank" rel="noopener" href="https://dav.jianguoyun.com/dav/Keepass/password.kdbx">https://dav.jianguoyun.com/dav/Keepass/password.kdbx</a></p>
<p>而用户名是坚果云账号，密码是上面在坚果云中生成的应用密码</p>
<h2 id="添加触发器实现自动保存"><a href="#添加触发器实现自动保存" class="headerlink" title="添加触发器实现自动保存"></a>添加触发器实现自动保存</h2><p>虽然目前你已经可以直接通过 KeePass 原生的同步功能进行同步了，但每次同步都需要自己手动点击保存，这可能对于某些人来说太麻烦了</p>
<p>当然，你要是能养成每次添加、修改数据库密码后就手动Ctrl+S保存的好习惯，也不用下面这些设置</p>
<p>但对于部分人来说，有修改后就自动保存还是挺重要的，所以这里就介绍一下方法：点击<code>工具 » 触发器</code>进入触发器设置界面后，</p>
<p>复制以下代码：</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">TriggerCollection</span> <span class="attr">xmlns:xsd</span>=<span class="string">&quot;http://www.w3.org/2001/XMLSchema&quot;</span> <span class="attr">xmlns:xsi</span>=<span class="string">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Triggers</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Trigger</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Guid</span>&gt;</span>L2euC7Mr/EKh7nPjueuZvQ==<span class="tag">&lt;/<span class="name">Guid</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Name</span>&gt;</span>SaveSync<span class="tag">&lt;/<span class="name">Name</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Events</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Event</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">TypeGuid</span>&gt;</span>s6j9/ngTSmqcXdW6hDqbjg==<span class="tag">&lt;/<span class="name">TypeGuid</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameters</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameter</span>&gt;</span>1<span class="tag">&lt;/<span class="name">Parameter</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameter</span>&gt;</span>kdbx<span class="tag">&lt;/<span class="name">Parameter</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Parameters</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Event</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Events</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Conditions</span> /&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Actions</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Action</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">TypeGuid</span>&gt;</span>tkamn96US7mbrjykfswQ6g==<span class="tag">&lt;/<span class="name">TypeGuid</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameters</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameter</span>&gt;</span>SaveSync<span class="tag">&lt;/<span class="name">Parameter</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameter</span>&gt;</span>0<span class="tag">&lt;/<span class="name">Parameter</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Parameters</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Action</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Action</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">TypeGuid</span>&gt;</span>Iq135Bd4Tu2ZtFcdArOtTQ==<span class="tag">&lt;/<span class="name">TypeGuid</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameters</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameter</span>&gt;</span>https://dav.jianguoyun.com/dav/keePass/passwordSync.kdbx<span class="tag">&lt;/<span class="name">Parameter</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameter</span>&gt;</span>123456<span class="tag">&lt;/<span class="name">Parameter</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameter</span>&gt;</span>123456<span class="tag">&lt;/<span class="name">Parameter</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Parameters</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Action</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Action</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">TypeGuid</span>&gt;</span>tkamn96US7mbrjykfswQ6g==<span class="tag">&lt;/<span class="name">TypeGuid</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameters</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameter</span>&gt;</span>SaveSync<span class="tag">&lt;/<span class="name">Parameter</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;<span class="name">Parameter</span>&gt;</span>1<span class="tag">&lt;/<span class="name">Parameter</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Parameters</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Action</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Actions</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Trigger</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">Triggers</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">TriggerCollection</span>&gt;</span></span><br></pre></td></tr></table></figure>

<p>复制好以上代码后，在触发器这里，点击「从剪贴板粘贴触发器」：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E8%A7%A6%E5%8F%91%E5%99%A8.png" alt="触发器"></p>
<p>接着会多出一个 SaveSync 的触发器，选中它 » 点击编辑</p>
<p>在动作选项卡中，选中第二个动作，点击编辑，修改其中的网址、用户名、密码设置为你自己的<code>（和上一步WebDAV同步的网址、账户、密码相同）</code></p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E7%BC%96%E8%BE%91%E5%8A%A8%E4%BD%9C.png" alt="编辑动作"></p>
<h2 id="自动输入"><a href="#自动输入" class="headerlink" title="自动输入"></a>自动输入</h2><p>KeePass 搭配上面的 KeePassHttp-Connector 浏览器扩展就已经能很好的实现密码自动输入了，但如果你想在一些软件上也实现密码自动输入，就需要额外进行一些设置了</p>
<p>在KeePass主页面选中你的数据库并右键 » 编辑群组 » 自动输入 » 替代默认规则为：<code>+&#123;DELAY 100&#125;&#123;CLEARFIELD&#125;&#123;USERNAME&#125;&#123;TAB&#125;&#123;PASSWORDBOX&#125;&#123;PASSWORD&#125;&#123;ENTER&#125;</code></p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E7%BC%96%E8%BE%91%E7%BE%A4%E7%BB%84%E6%8C%89%E9%92%AE.png" alt="编辑群组按钮"></p>
<blockquote>
<p>这样设置的前提是你安装了 CheckPasswordBox 这款插件</p>
</blockquote>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E7%BC%96%E8%BE%91%E7%BE%A4%E7%BB%84.png" alt="编辑群组"></p>
<p>然后在工具 » 选项 » 集成中设置自动输入的快捷键（另外如果你需要KeePass开机启动，也可以在这里进行设置）</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%85%A8%E5%B1%80%E8%BE%93%E5%85%A5.png" alt="全局输入"></p>
<h1 id="KeePass-手机端"><a href="#KeePass-手机端" class="headerlink" title="KeePass 手机端"></a>KeePass 手机端</h1><p>KeePass 的手机端其实就简单很多了，基本上是导入你 WebDAV 中的数据库就能用了</p>
<p>而且密码自动填充如今在手机端都能很好的实现了</p>
<h2 id="iOS"><a href="#iOS" class="headerlink" title="iOS"></a>iOS</h2><p>iOS端 KeePass 的客户端选择就很多了，因为没有苹果手机，所以无法作演示，这里只推荐两个软件，具体使用方法还请自己摸索。</p>
<p>FantasyPass（奇密），不过这款软件收费12块钱：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/FantasyPass.png" alt="FantasyPass"></p>
<p>你也可以用免费的 Strongbox：</p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/Strongbox.png" alt="Strongbox"></p>
<h2 id="安卓"><a href="#安卓" class="headerlink" title="安卓"></a>安卓</h2><p>安卓端大家普遍推荐的都是 Keepass2Android，算是同类APP中最好用的那个</p>
<p>你可以在SOFTPEDIA上下载：<a target="_blank" rel="noopener" href="https://mobile.softpedia.com/apk/keepass2android-password-safe/">https://mobile.softpedia.com/apk/keepass2android-password-safe/</a></p>
<p>安装好之后，首次打开 Keepass2Android，选择打开文件 » 选择HTTPS格式的WebDav</p>
<p>然后就是输入你数据库的坚果云 WebDAV 地址，填写你的坚果云账号，与坚果云中设置的第三方应用密码</p>
<p>将数据库导入进来之后，再输入你的数据库管理密码进行打开（如果你有设置密钥，需要把密钥文件拷贝到你的手机上）</p>
<p>新版的 Keepass2Android 已经支持自动识别与填充，甚至部分APP内的登录都是支持的（如酷安）</p>
<h1 id="结语"><a href="#结语" class="headerlink" title="结语"></a>结语</h1><p>最后如果你要问密码迁移方案，抱歉，我也没有…</p>
<p>我的做法是浏览器自带的密码管理和 KeePass 同时使用，平常登录的时候，就在网页上手动操作把密码一条条的记录到  KeePass</p>
<p>就这样用了一段时间后，基本上常用的账号密码就都完成了迁移，这也没多消耗自己额外的什么时间</p>
<p>可能很多人会被映入眼帘如此大的工作量给劝退，但实际上，照着操作花不了你15分钟</p>
<p>另外也诚心劝戒大家，<strong>不要因为工程量大，就放弃去做一件你应该做的事！</strong></p>
<blockquote>
<p>就比如，我很早之前就学会利用GitHub+jsDelivr搭建图床了，但是一直没有实际运用到文章中，而这篇文章是我第一次使用jsDelivr图床，图片速度的确快很多，虽然过程很麻烦，但是很值得！<code>不要因为工程量大，就放弃去做一件你应该做的事！</code></p>
<p><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E7%BB%93%E8%AF%AD.png" alt="结语"></p>
</blockquote>
<h1 id="End"><a href="#End" class="headerlink" title="End"></a>End</h1></article><div class="post-copyright"><div class="post-copyright__title"><span class="post-copyright-info"><h>论密码管理</h></span></div><div class="post-copyright__type"><span class="post-copyright-info"><a href="http://amnesia-f.github.io/posts/6746a1c3/">http://amnesia-f.github.io/posts/6746a1c3/</a></span></div><div class="post-copyright-m"><div class="post-copyright-m-info"><div class="post-copyright-a"><h>作者</h><div class="post-copyright-cc-info"><h>Amnesia</h></div></div><div class="post-copyright-c"><h>发布于</h><div class="post-copyright-cc-info"><h>2021-03-01</h></div></div><div class="post-copyright-u"><h>更新于</h><div class="post-copyright-cc-info"><h>2022-02-01</h></div></div><div class="post-copyright-c"><h>许可协议</h><div class="post-copyright-cc-info"><a class="icon" rel="noopener" target="_blank" title="Creative Commons" href="https://creativecommons.org/"><i class="fab fa-creative-commons"></i></a><a rel="noopener" target="_blank" title="CC BY-NC-SA 4.0" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a></div></div></div></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/%E6%8A%80%E6%9C%AF%E6%95%99%E7%A8%8B/">技术教程</a></div><div class="post_share"><div class="social-share" data-image="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%B0%81%E9%9D%A2.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/posts/adf6e4b/"><img class="prev-cover" src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/QuickLook%EF%BC%9A%E8%83%BD%E6%8C%89%E4%B8%80%E4%B8%8B%E7%A9%BA%E6%A0%BC%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E6%8C%89%E4%B8%A4%E4%B8%8B%E9%BC%A0%E6%A0%87/%E5%B0%81%E9%9D%A2.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">QuickLook：能按一下空格为什么要按两下鼠标</div></div></a></div><div class="next-post pull-right"><a href="/posts/749a3a09/"><img class="next-cover" src="https://img.imgdb.cn/item/603b649d5f4313ce25b15e3a.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">论如何通过手机指纹解锁电脑</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/posts/749a3a09/" title="论如何通过手机指纹解锁电脑"><img class="cover" src="https://img.imgdb.cn/item/603b649d5f4313ce25b15e3a.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-02-28</div><div class="title">论如何通过手机指纹解锁电脑</div></div></a></div><div><a href="/posts/40cad56a/" title="浏览器实现自动回帖功能"><img class="cover" src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/浏览器实现自动回帖功能/封面.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-02-24</div><div class="title">浏览器实现自动回帖功能</div></div></a></div><div><a href="/posts/126239f4/" title="论如何管理电脑右键菜单"><img class="cover" src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/论如何管理电脑右键菜单/封面.ico" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-02-16</div><div class="title">论如何管理电脑右键菜单</div></div></a></div><div><a href="/posts/4161854e/" title="论如何让百度网盘里的视频倍速播放"><img class="cover" src="https://img.imgdb.cn/item/60291c2ad2a061fec7f0ed1e.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-02-15</div><div class="title">论如何让百度网盘里的视频倍速播放</div></div></a></div><div><a href="/posts/dfe935b2/" title="打造U盘系统，Win10随身携带"><img class="cover" src="https://img.imgdb.cn/item/6027eb98d2a061fec77dd287.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-02-14</div><div class="title">打造U盘系统，Win10随身携带</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div id="twikoo-wrap"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/avatar.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">Amnesia</div><div class="author-info__description">零碎的岛屿总会找到海.</div></div><div class="card-info-data is-center"><div class="card-info-data-item"><a href="/archives/"><div class="headline">文章</div><div class="length-num">57</div></a></div><div class="card-info-data-item"><a href="/tags/"><div class="headline">标签</div><div class="length-num">44</div></a></div><div class="card-info-data-item"><a href="/categories/"><div class="headline">分类</div><div class="length-num">19</div></a></div></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://amnesia-f.gitee.io/"><i class="fab fa-github"></i><span>国内镜像站</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/Amnesia-f" target="_blank" title="Github"><i class="iconfont  iconGitHub"></i></a><a class="social-icon" href="https://twitter.com/Amnesia79047925" target="_blank" title="Twitter"><i class="iconfont  icontwitter1"></i></a><a class="social-icon" href="mailto:f3586454827@gmail.com" target="_blank" title="Mail"><i class="iconfont  iconemail"></i></a><a class="social-icon" href="https://amnesia-f.github.io/rss2.xml" target="_blank" title="RSS"><i class="iconfont  iconrss"></i></a><a class="social-icon" href="https://space.bilibili.com/552857266" target="_blank" title="Bilibili"><i class="iconfont  iconbilibili-line"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">因不可抗力的因素，原博客文件丢失，<br/> 且学业繁忙，断更数月有余。<br/> 特乘寒假之日，对博客重新部署，<br/> 原有文章已悉数找回，保留了原有博客主题。<br/> 预计在2月10日前，恢复博客运行。<br/> 祝大家虎年虎虎生威，新春快乐！<br/> 欢迎访问我的<a href="https://amnesia-f.github.io/">Github主页</a>！<br/> <br/>          By Amnesia on 29th January 2022.<br/> <img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/Yay.gif"><br/></div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%BA%94%E8%AF%A5%E5%A6%82%E4%BD%95%E8%AE%BE%E7%BD%AE%E5%AF%86%E7%A0%81"><span class="toc-number">1.</span> <span class="toc-text">应该如何设置密码</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%AF%B9%E5%AF%86%E7%A0%81%E8%BF%9B%E8%A1%8C%E5%88%86%E7%BA%A7"><span class="toc-number">1.1.</span> <span class="toc-text">对密码进行分级</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%AE%A9%E5%AF%86%E7%A0%81%E5%A4%8D%E6%9D%82%E4%BD%86%E5%8F%88%E4%B8%8D%E9%9A%BE%E8%AE%B0"><span class="toc-number">1.2.</span> <span class="toc-text">让密码复杂但又不难记</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%88%91%E7%9A%84%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86%E6%96%B9%E6%A1%88"><span class="toc-number">2.</span> <span class="toc-text">我的密码管理方案</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#KeePass-PC%E7%AB%AF%E9%A3%9F%E7%94%A8%E6%8C%87%E5%8D%97"><span class="toc-number">3.</span> <span class="toc-text">KeePass PC端食用指南</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%8E%B7%E5%8F%96%E4%B8%BB%E7%A8%8B%E5%BA%8F"><span class="toc-number">3.1.</span> <span class="toc-text">获取主程序</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%89%8B%E5%8A%A8%E6%B1%89%E5%8C%96"><span class="toc-number">3.2.</span> <span class="toc-text">手动汉化</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%88%9B%E5%BB%BA%E6%95%B0%E6%8D%AE%E5%BA%93"><span class="toc-number">3.3.</span> <span class="toc-text">创建数据库</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%88%9B%E5%BB%BA%E7%AE%A1%E7%90%86%E5%AF%86%E7%A0%81%EF%BC%86%E5%AF%86%E9%92%A5"><span class="toc-number">3.4.</span> <span class="toc-text">创建管理密码＆密钥</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%AE%BE%E7%BD%AE%E6%95%B0%E6%8D%AE%E5%BA%93"><span class="toc-number">3.5.</span> <span class="toc-text">设置数据库</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%BF%9B%E4%B8%80%E6%AD%A5%E8%AE%BE%E7%BD%AE"><span class="toc-number">3.6.</span> <span class="toc-text">进一步设置</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%AE%89%E8%A3%85%E6%8F%92%E4%BB%B6"><span class="toc-number">3.7.</span> <span class="toc-text">安装插件</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%B5%8F%E8%A7%88%E5%99%A8%E6%89%A9%E5%B1%95"><span class="toc-number">3.8.</span> <span class="toc-text">浏览器扩展</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#WebDAV%E5%90%8C%E6%AD%A5"><span class="toc-number">3.9.</span> <span class="toc-text">WebDAV同步</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%B7%BB%E5%8A%A0%E8%A7%A6%E5%8F%91%E5%99%A8%E5%AE%9E%E7%8E%B0%E8%87%AA%E5%8A%A8%E4%BF%9D%E5%AD%98"><span class="toc-number">3.10.</span> <span class="toc-text">添加触发器实现自动保存</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%87%AA%E5%8A%A8%E8%BE%93%E5%85%A5"><span class="toc-number">3.11.</span> <span class="toc-text">自动输入</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#KeePass-%E6%89%8B%E6%9C%BA%E7%AB%AF"><span class="toc-number">4.</span> <span class="toc-text">KeePass 手机端</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#iOS"><span class="toc-number">4.1.</span> <span class="toc-text">iOS</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%AE%89%E5%8D%93"><span class="toc-number">4.2.</span> <span class="toc-text">安卓</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E7%BB%93%E8%AF%AD"><span class="toc-number">5.</span> <span class="toc-text">结语</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#End"><span class="toc-number">6.</span> <span class="toc-text">End</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/posts/k210/" title="使用Mx_Yolo_v3训练K210模型文件"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/使用Mx_Yolo_v3训练K210模型文件/封面.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="使用Mx_Yolo_v3训练K210模型文件"/></a><div class="content"><a class="title" href="/posts/k210/" title="使用Mx_Yolo_v3训练K210模型文件">使用Mx_Yolo_v3训练K210模型文件</a><time datetime="2022-04-29T16:45:14.782Z" title="发表于 2022-04-30 00:45:14">2022-04-30</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/ce04/" title="无视限制升级安装Windows11"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/无视限制升级安装Windows11/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="无视限制升级安装Windows11"/></a><div class="content"><a class="title" href="/posts/ce04/" title="无视限制升级安装Windows11">无视限制升级安装Windows11</a><time datetime="2022-04-17T12:47:35.000Z" title="发表于 2022-04-17 20:47:35">2022-04-17</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/6ec6/" title="为AppInventor添加在线更新功能"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/为AppInventor添加在线更新功能/封面.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="为AppInventor添加在线更新功能"/></a><div class="content"><a class="title" href="/posts/6ec6/" title="为AppInventor添加在线更新功能">为AppInventor添加在线更新功能</a><time datetime="2022-02-27T09:30:58.000Z" title="发表于 2022-02-27 17:30:58">2022-02-27</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/m762/" title="基于物联网的师生呼叫系统"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/基于物联网的师生呼叫系统/cover.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="基于物联网的师生呼叫系统"/></a><div class="content"><a class="title" href="/posts/m762/" title="基于物联网的师生呼叫系统">基于物联网的师生呼叫系统</a><time datetime="2022-02-04T09:30:58.000Z" title="发表于 2022-02-04 17:30:58">2022-02-04</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/4e5b/" title="Hexo博客美化日记 || Amnesia's Blog"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/Hexo博客美化日记/封面.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hexo博客美化日记 || Amnesia's Blog"/></a><div class="content"><a class="title" href="/posts/4e5b/" title="Hexo博客美化日记 || Amnesia's Blog">Hexo博客美化日记 || Amnesia's Blog</a><time datetime="2022-02-03T02:36:34.531Z" title="发表于 2022-02-03 10:36:34">2022-02-03</time></div></div></div></div></div></div></main><footer id="footer" style="background: -webkit-linear-gradient( 0deg, rgba(247, 149, 51, 0.1) 0, rgba(243, 112, 85, 0.1) 15%, rgba(239, 78, 123, 0.1) 30%, rgba(161, 102, 171, 0.1) 44%, rgba(80, 115, 184, 0.1) 58%, rgba(16, 152, 173, 0.1) 72%, rgba(7, 179, 155, 0.1) 86%, rgba(109, 186, 130, 0.1) 100% )"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2022  <i id="heartbeat" class="fa fas fa-heartbeat"></i> Amnesia</div><div id="running-time"></div><div class="footer_custom_text"><p><a style="margin-inline:5px" target="_blank" href="https://hexo.io/"><img src="https://img.shields.io/badge/Frame-Hexo-blue?style=flat&logo=hexo" title="博客框架为Hexo"></a><a style="margin-inline:5px" target="_blank" href="https://butterfly.js.org/"><img src="https://img.shields.io/badge/Theme-Butterfly-6513df?style=flat&logo=bitdefender" title="主题采用Butterfly"></a><a style="margin-inline:5px" target="_blank" href="https://www.jsdelivr.com/"><img src="https://img.shields.io/badge/CDN-jsDelivr-orange?style=flat&logo=jsDelivr" title="本站使用JsDelivr为静态资源提供CDN加速"></a><a style="margin-inline:5px" target="_blank" href="https://vercel.com/ "><img src="https://img.shields.io/badge/Hosted-Vervel-brightgreen?style=flat&logo=Vercel" title="本站采用双线部署，默认线路托管于Vercel"></a><a style="margin-inline:5px" target="_blank" href="https://gitee.com/ "><img src="https://img.shields.io/badge/Hosted-Gitee-0cedbe?style=flat&logo=Gitee" title="本站采用双线部署，国内镜像托管于Gitee"></a><a style="margin-inline:5px" target="_blank" href="https://github.com/"><img src="https://img.shields.io/badge/Source-Github-d021d6?style=flat&logo=GitHub" title="本站项目由Gtihub托管"></a><a style="margin-inline:5px" target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="https://img.shields.io/badge/Copyright-BY--NC--SA%204.0-d42328?style=flat&logo=Claris" title="本站采用知识共享署名-非商业性使用-相同方式共享4.0国际许可协议进行许可"></a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">本地搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>function panguFn () {
  if (typeof pangu === 'object') pangu.autoSpacingPage()
  else {
    getScript('https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js')
      .then(() => {
        pangu.autoSpacingPage()
      })
  }
}

function panguInit () {
  if (false){
    GLOBAL_CONFIG_SITE.isPost && panguFn()
  } else {
    panguFn()
  }
}

document.addEventListener('DOMContentLoaded', panguInit)</script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script>(()=>{
  const init = () => {
    twikoo.init(Object.assign({
      el: '#twikoo-wrap',
      envId: 'https://twikoo-comment-teal.vercel.app/',
      region: '',
      onCommentLoaded: function () {
        btf.loadLightbox(document.querySelectorAll('#twikoo .tk-content img:not(.vemoji)'))
      }
    }, null))
  }

  const getCount = () => {
    twikoo.getCommentsCount({
      envId: 'https://twikoo-comment-teal.vercel.app/',
      region: '',
      urls: [window.location.pathname],
      includeReply: false
    }).then(function (res) {
      document.getElementById('twikoo-count').innerText = res[0].count
    }).catch(function (err) {
      console.error(err);
    });
  }

  const runFn = () => {
    init()
    GLOBAL_CONFIG_SITE.isPost && getCount()
  }

  const loadTwikoo = () => {
    if (typeof twikoo === 'object') {
      setTimeout(runFn,0)
      return
    } 
    getScript('https://cdn.jsdelivr.net/npm/twikoo/dist/twikoo.all.min.js').then(runFn)
  }

  if ('Twikoo' === 'Twikoo' || !false) {
    if (false) btf.loadComment(document.getElementById('twikoo-wrap'), loadTwikoo)
    else loadTwikoo()
  } else {
    window.loadOtherComment = () => {
      loadTwikoo()
    }
  }
})()</script></div><script defer src="https://cdn.jsdelivr.net/gh/graingert/wow@1.3.0/dist/wow.min.js"></script><script defer data-pjax src="/js/wow_init.js"></script><script>setInterval(()=>{let create_time=Math.round(new Date("2021-1-20-10:36:38").getTime()/1000);let timestamp=Math.round((new Date().getTime()+8*60*60*1000)/1000);let second=timestamp-create_time;let time=new Array(0,0,0,0,0);if(second>=365*24*3600){time[0]=parseInt(second/(365*24*3600));second%=365*24*3600}if(second>=24*3600){time[1]=parseInt(second/(24*3600));second%=24*3600}if(second>=3600){time[2]=parseInt(second/3600);second%=3600}if(second>=60){time[3]=parseInt(second/60);second%=60}if(second>0){time[4]=second}currentTimeHtml='小破站已经安全运行 '+time[0]+' 年 '+time[1]+' 天 '+time[2]+' 时 '+time[3]+' 分 '+time[4]+' 秒';var elementById=document.getElementById('running-time');if(elementById){elementById.innerHTML=currentTimeHtml}},1000);</script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/gh/metowolf/MetingJS@1.2/dist/Meting.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors = ["title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax"]

var pjax = new Pjax({
  elements: 'a:not([target="_blank"])',
  selectors: pjaxSelectors,
  cacheBust: false,
  analytics: true,
  scrollRestoration: false
})

document.addEventListener('pjax:send', function () {

  // removeEventListener scroll 
  window.tocScrollFn && window.removeEventListener('scroll', window.tocScrollFn)
  window.scrollCollect && window.removeEventListener('scroll', scrollCollect)

  typeof preloader === 'object' && preloader.initLoading()
  document.getElementById('rightside').style.cssText = "opacity: ''; transform: ''"
  
  if (window.aplayers) {
    for (let i = 0; i < window.aplayers.length; i++) {
      if (!window.aplayers[i].options.fixed) {
        window.aplayers[i].destroy()
      }
    }
  }

  typeof typed === 'object' && typed.destroy()

  //reset readmode
  const $bodyClassList = document.body.classList
  $bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')

})

document.addEventListener('pjax:complete', function () {
  window.refreshFn()

  document.querySelectorAll('script[data-pjax]').forEach(item => {
    const newScript = document.createElement('script')
    const content = item.text || item.textContent || item.innerHTML || ""
    Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
    newScript.appendChild(document.createTextNode(content))
    item.parentNode.replaceChild(newScript, item)
  })

  GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()

  typeof chatBtnFn === 'function' && chatBtnFn()
  typeof panguInit === 'function' && panguInit()

  // google analytics
  typeof gtag === 'function' && gtag('config', 'UA-172938598-1', {'page_path': window.location.pathname});

  // baidu analytics
  typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]);

  typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()

  // prismjs
  typeof Prism === 'object' && Prism.highlightAll()

  typeof preloader === 'object' && preloader.endLoading()
})

document.addEventListener('pjax:error', (e) => {
  if (e.request.status === 404) {
    pjax.loadUrl('/404.html')
  }
})</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><!-- hexo injector body_end start -->
  <script data-pjax src="https://cdn.jsdelivr.net/gh/Zfour/hexo-github-calendar@1.21/hexo_githubcalendar.js"></script>
  <script data-pjax>
        function GithubCalendarConfig(){
            var git_githubapiurl ="https://python-github-calendar-api-eight.vercel.app/api/?Amnesia-f?Amnesia-f";
            var git_color =['#ebedf0', '#fdcdec', '#fc9bd9', '#fa6ac5', '#f838b2', '#f5089f', '#c4067e', '#92055e', '#540336', '#48022f', '#30021f'];
            var git_user ="Amnesia-f";
            var parent_div_git = document.getElementById('recent-posts');
            var git_div_html = '<div class="recent-post-item" style="width:100%;height:auto;padding:10px;"><div id="github_loading" style="width:10%;height:100%;margin:0 auto;display: block"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"  viewBox="0 0 50 50" style="enable-background:new 0 0 50 50" xml:space="preserve"><path fill="#d0d0d0" d="M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z" transform="rotate(275.098 25 25)"><animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 25 25" to="360 25 25" dur="0.6s" repeatCount="indefinite"></animateTransform></path></svg></div><div id="github_container"></div></div>';
            if(parent_div_git && location.pathname =='/'){
                console.log('已挂载github calendar')
                // parent_div_git.innerHTML=git_div_html+parent_div_git.innerHTML // 无报错，但不影响使用(支持pjax跳转)
                parent_div_git.insertAdjacentHTML("afterbegin",git_div_html) // 有报错，但不影响使用(支持pjax跳转)
            };
            GithubCalendar(git_githubapiurl,git_color,git_user)
        }
        if(document.getElementById('recent-posts')){
            GithubCalendarConfig()
        }
    </script>
    <style>#github_container{min-height:280px}@media screen and (max-width:650px) {#github_container{background-image:;min-height:0px}}</style>
    <style></style> <script data-pjax>if(document.getElementById('recent-posts') && location.pathname =='/'){
    
    var parent = document.getElementById('recent-posts');
    var child = '<div class="recent-post-item" style="height: auto;width: 100%"><div class="blog-slider swiper-container-fade swiper-container-horizontal" id="swiper_container"><div class="blog-slider__wrp swiper-wrapper" style="transition-duration: 0ms"><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/Hexo搭建个人博客：从开始到放弃/hexo.jpg" alt="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/Hexo搭建个人博客：从开始到放弃/hexo.jpg"/></div><div class="blog-slider__content"><span class="blog-slider__code">2021-01-21</span><a class="blog-slider__title" href="posts/aea2/">Hexo搭建个人博客：从开始到放弃</a><div class="blog-slider__text">非常友好的小白向教程，详细介绍了搭建Hexo博客的步骤。</div><a class="blog-slider__button" href="posts/aea2/">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/部署Twikoo评论系统及其邮件推送(Vercel)/封面.png" alt="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/部署Twikoo评论系统及其邮件推送(Vercel)/封面.png"/></div><div class="blog-slider__content"><span class="blog-slider__code">2022-02-01</span><a class="blog-slider__title" href="posts/8b3/">部署Twikoo评论系统及其邮件推送(Vercel)</a><div class="blog-slider__text">详细介绍了使用Vercel+MongoDB方案搭建Twikoo评论系统的过程，并实现邮件自动通知回复信息。</div><a class="blog-slider__button" href="posts/8b3/">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/阿里云IoT：控制掌控板板载灯亮灭/封面.png" alt="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/阿里云IoT：控制掌控板板载灯亮灭/封面.png"/></div><div class="blog-slider__content"><span class="blog-slider__code">2021-02-07</span><a class="blog-slider__title" href="posts/c232/">阿里云IoT：控制掌控板板载灯亮灭</a><div class="blog-slider__text">使用阿里云IoT+App+掌控板的方式控制灯光的亮灭，其中涉及到阿里云物联网平台以及MQTT协议的介绍。</div><a class="blog-slider__button" href="posts/c232/">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/Day8：一款无线抢答系统的实现过程/cover.jpg" alt="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/Day8：一款无线抢答系统的实现过程/cover.jpg"/></div><div class="blog-slider__content"><span class="blog-slider__code">2021-08-08</span><a class="blog-slider__title" href="posts/d9a3/">Day8：一款无线抢答系统的实现过程</a><div class="blog-slider__text">基于LoRa+蓝牙+掌控板+AppInventor方案实现的一款无线抢答系统，通过手机App下达答题命令到裁判端，再由裁判端分发命令并捕捉抢答信息。</div><a class="blog-slider__button" href="posts/d9a3/">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/Hexo博客技巧：利用JsDeliver加速文件/封面.jpg" alt="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/Hexo博客技巧：利用JsDeliver加速文件/封面.jpg"/></div><div class="blog-slider__content"><span class="blog-slider__code">2021-02-10</span><a class="blog-slider__title" href="posts/20b3/">Hexo博客技巧：利用JsDeliver加速文件</a><div class="blog-slider__text">利用GitHub+JsDeliver搭建CDN图床，加快Hexo博客的加载速度，同时还能减少担心图片挂掉的后顾之忧。</div><a class="blog-slider__button" href="posts/20b3/">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://pic.imgdb.cn/item/61f639662ab3f51d916ed633.png" alt="https://pic.imgdb.cn/item/61f639662ab3f51d916ed633.png"/></div><div class="blog-slider__content"><span class="blog-slider__code">2021-07-15</span><a class="blog-slider__title" href="posts/77049f2e/">Day4：蓝牙4.0与5.0模块的使用</a><div class="blog-slider__text">详细介绍了蓝牙4.0与5.0模块的使用，文章中提供了配置、指令、引脚等大量资料。</div><a class="blog-slider__button" href="posts/77049f2e/">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%B0%81%E9%9D%A2.png" alt="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/%E8%AE%BA%E5%AF%86%E7%A0%81%E7%AE%A1%E7%90%86/%E5%B0%81%E9%9D%A2.png"/></div><div class="blog-slider__content"><span class="blog-slider__code">2021-03-01</span><a class="blog-slider__title" href="posts/6746a1c3/">论密码管理</a><div class="blog-slider__text">免费，开源，离线化的密码管理方案。</div><a class="blog-slider__button" href="posts/6746a1c3/">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://img.imgdb.cn/item/6028903bd2a061fec7b181f3.png" alt="https://img.imgdb.cn/item/6028903bd2a061fec7b181f3.png"/></div><div class="blog-slider__content"><span class="blog-slider__code">2021-02-15</span><a class="blog-slider__title" href="posts/461b0433/">掌控板在上传模式下无法连接MQTT的解决方法</a><div class="blog-slider__text">如题，掌控板在上传模式下无法连接MQTT的解决方法(SIoT)。</div><a class="blog-slider__button" href="posts/461b0433/">详情</a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms"><div class="blog-slider__img"><img src="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/QuickLook%EF%BC%9A%E8%83%BD%E6%8C%89%E4%B8%80%E4%B8%8B%E7%A9%BA%E6%A0%BC%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E6%8C%89%E4%B8%A4%E4%B8%8B%E9%BC%A0%E6%A0%87/%E5%B0%81%E9%9D%A2.png" alt="https://cdn.jsdelivr.net/gh/Amnesia-f/jsDelivr_CDN/post/QuickLook%EF%BC%9A%E8%83%BD%E6%8C%89%E4%B8%80%E4%B8%8B%E7%A9%BA%E6%A0%BC%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E6%8C%89%E4%B8%A4%E4%B8%8B%E9%BC%A0%E6%A0%87/%E5%B0%81%E9%9D%A2.png"/></div><div class="blog-slider__content"><span class="blog-slider__code">2021-03-04</span><a class="blog-slider__title" href="posts/adf6e4b/">QuickLook：能按一下空格为什么要按两下鼠标</a><div class="blog-slider__text">QuickLook是一款开源、免费的文件快速预览辅助工具，可以将MacOS广受好评的“空格预览”功能带到Windows桌面！</div><a class="blog-slider__button" href="posts/adf6e4b/">详情</a></div></div></div><div class="blog-slider__pagination swiper-pagination-clickable swiper-pagination-bullets"></div></div></div>';
    console.log('已挂载swiper')
    parent.insertAdjacentHTML("afterbegin",child)}
     </script>
<script data-pjax src="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-swiper/swiper/swiper.min.js"></script>
<script data-pjax src="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-swiper@0.18/swiper/swiperindex.js"></script>
<style></style><script data-pjax>function history_calendar_injector_config(){
                var parent_div_git = document.getElementsByClassName('sticky_layout')[0];
                var item_html = '<div class="card-widget card-history"><div class="card-content"><div class="item-headline"><i class="fas fa-clock fa-spin"></i><span>那年今日</span></div><div id="history-baidu" style="height: 100px;overflow: hidden"><div class="history_swiper-container" id="history-container" style="width: 100%;height: 100%"><div class="swiper-wrapper" id="history_container_wrapper" style="height:20px"></div></div></div></div>';
                console.log('已挂载history_calendar')
                // parent_div_git.innerHTML=item_html+parent_div_git.innerHTML // 无报错，但不影响使用(支持pjax跳转)
                parent_div_git.insertAdjacentHTML("afterbegin",item_html) // 有报错，但不影响使用(支持pjax跳转)
            }if( document.getElementsByClassName('sticky_layout')[0] && (location.pathname ==='/'|| '/' ==='all')){

            history_calendar_injector_config()
        } </script><script data-pjax src="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-card-history/baiduhistory/js/main.js"></script><div class="js-pjax"><script async="async">var arr = document.getElementsByClassName('recent-post-item');
for(var i = 0;i<arr.length;i++){
    arr[i].classList.add('wow');
    arr[i].classList.add('animate__zoomIn');
    arr[i].setAttribute('data-wow-duration', '2s');
    arr[i].setAttribute('data-wow-delay', '500ms');
    arr[i].setAttribute('data-wow-offset', '80');
    arr[i].setAttribute('data-wow-iteration', '1');
  }</script><script async="async">var arr = document.getElementsByClassName('card-widget');
for(var i = 0;i<arr.length;i++){
    arr[i].classList.add('wow');
    arr[i].classList.add('animate__zoomIn');
    arr[i].setAttribute('data-wow-duration', '');
    arr[i].setAttribute('data-wow-delay', '');
    arr[i].setAttribute('data-wow-offset', '');
    arr[i].setAttribute('data-wow-iteration', '');
  }</script></div><script defer src="https://unpkg.zhimg.com/hexo-butterfly-wowjs/lib/wow.min.js"></script><script defer src="https://unpkg.zhimg.com/hexo-butterfly-wowjs/lib/wow_init.js"></script><!-- hexo injector body_end end --><script async>window.onload=function(){var a=document.createElement('script'),b=document.getElementsByTagName('script')[0];a.type='text/javascript',a.async=!0,a.src='/sw-register.js?v='+Date.now(),b.parentNode.insertBefore(a,b)};</script></body></html>